package com.prs.crm.dao.archives.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.archives.KeepTimeDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.archives.KeepTime;

public class KeepTimeDaoImpl extends BaseDaoImpl<KeepTime> implements KeepTimeDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<KeepTime> getAllKeepTime() {
		Criteria criteria=this.getSession().createCriteria(KeepTime.class);
		return criteria.list();
	}

}
